package com.sy.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sy.entity.Subject;
import lombok.Builder;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * description: CollectVo <br>
 * date: 2022/6/24 1:04 AM <br>
 * author: zoumaoji <br>
 * version: 1.0 <br>
 */
@Data
public class CollectDto {
    Integer id;
    Integer subjectId;
    Integer memberId;
    //    List<SubjectDto> subjects;
    private Integer coachId;
    private String coachName;
    /**
     * 课时数例如20节 30节
     */
    private Integer duration;
    /**
     * 学员人数
     */
    private Integer number;
    private String subjectName;
    private String subjectPrice;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endDate;
}
